package com.headingdata.loop;

public class LoopNestedDemo6 {
    public static void main(String[] args) {
        //循环嵌套
        // 10天，每天说6句“我爱你！”
        for (int i = 1;i <= 10;i++){
            for (int j = 0; j < 6;j++){
                System.out.println("我爱你" + i + "!");
            }
        }


        /*
        * *****
        * *****
        * *****
        * *****
        * */

        for (int i = 0;i < 4;i++){
            for (int j = 0; j < 5; j++){
                System.out.print("*");
            }
            System.out.println("\t");
        }
    }
}
